<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:tns="http://schemas.datacontract.org/2004/07/EzDesk.Core.Model" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/EzDesk.Core.Model" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:20501/EzDeskCoreClientService.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:complexType name="Organization">
    <xs:sequence>
      <xs:element minOccurs="0" name="Icon" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IconUrl" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Id" type="ser:guid" />
      <xs:element minOccurs="0" name="Title" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UpdateOn" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Organization" nillable="true" type="tns:Organization" />
  <xs:complexType name="ArrayOfAppFunction">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="AppFunction" nillable="true" type="tns:AppFunction" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfAppFunction" nillable="true" type="tns:ArrayOfAppFunction" />
  <xs:complexType name="AppFunction">
    <xs:sequence>
      <xs:element minOccurs="0" name="AppName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Category" nillable="true" type="tns:AppFunctionType" />
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="FuncUrl" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="FunctionCategoryId" type="ser:guid" />
      <xs:element minOccurs="0" name="FunctionTypeId" type="ser:guid" />
      <xs:element minOccurs="0" name="IconName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IconUrl" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Id" type="ser:guid" />
      <xs:element minOccurs="0" name="PermissionNeed" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Privilege" type="xs:int" />
      <xs:element minOccurs="0" name="TargetUrl" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Title" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Type" nillable="true" type="tns:AppFunctionType" />
      <xs:element minOccurs="0" name="UserAgent" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="AppFunction" nillable="true" type="tns:AppFunction" />
  <xs:complexType name="AppFunctionType">
    <xs:sequence>
      <xs:element minOccurs="0" name="DisplayText" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IconName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="IconUrl" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Id" type="ser:guid" />
      <xs:element minOccurs="0" name="Privilege" type="xs:int" />
      <xs:element minOccurs="0" name="TypeName" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="AppFunctionType" nillable="true" type="tns:AppFunctionType" />
  <xs:complexType name="ArrayOfAppFunctionType">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="AppFunctionType" nillable="true" type="tns:AppFunctionType" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfAppFunctionType" nillable="true" type="tns:ArrayOfAppFunctionType" />
  <xs:complexType name="ArrayOfFeedStatus">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="FeedStatus" nillable="true" type="tns:FeedStatus" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfFeedStatus" nillable="true" type="tns:ArrayOfFeedStatus" />
  <xs:complexType name="FeedStatus">
    <xs:sequence>
      <xs:element minOccurs="0" name="FeedId" type="ser:guid" />
      <xs:element minOccurs="0" name="IsAvailable" nillable="true" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsMark" nillable="true" type="xs:boolean" />
      <xs:element minOccurs="0" name="IsRead" nillable="true" type="xs:boolean" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="FeedStatus" nillable="true" type="tns:FeedStatus" />
  <xs:complexType name="UserProfile">
    <xs:sequence>
      <xs:element minOccurs="0" name="Dept" nillable="true" type="tns:Dept" />
      <xs:element minOccurs="0" name="DeptId" nillable="true" type="ser:guid" />
      <xs:element minOccurs="0" name="HeadImageId" nillable="true" type="ser:guid" />
      <xs:element minOccurs="0" name="HeadUrl" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Id" type="ser:guid" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Position" nillable="true" type="tns:Position" />
      <xs:element minOccurs="0" name="PositionId" nillable="true" type="ser:guid" />
      <xs:element minOccurs="0" name="StatusId" nillable="true" type="ser:guid" />
      <xs:element minOccurs="0" name="UserCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UserHeadImage" nillable="true" type="tns:UserHeadImage" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="UserProfile" nillable="true" type="tns:UserProfile" />
  <xs:complexType name="Dept">
    <xs:sequence>
      <xs:element minOccurs="0" name="DeptName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Group" nillable="true" type="tns:Group" />
      <xs:element minOccurs="0" name="GroupId" nillable="true" type="ser:guid" />
      <xs:element minOccurs="0" name="Id" type="ser:guid" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Dept" nillable="true" type="tns:Dept" />
  <xs:complexType name="Group">
    <xs:sequence>
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Id" type="ser:guid" />
      <xs:element minOccurs="0" name="Memberstring" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PermissionGroup" nillable="true" type="tns:ArrayOfPermissionGroup" />
      <xs:element minOccurs="0" name="Type" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Group" nillable="true" type="tns:Group" />
  <xs:complexType name="ArrayOfPermissionGroup">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="PermissionGroup" nillable="true" type="tns:PermissionGroup" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfPermissionGroup" nillable="true" type="tns:ArrayOfPermissionGroup" />
  <xs:complexType name="PermissionGroup">
    <xs:sequence>
      <xs:element minOccurs="0" name="Group" nillable="true" type="tns:Group" />
      <xs:element minOccurs="0" name="GroupId" type="ser:guid" />
      <xs:element minOccurs="0" name="HasPermission" type="xs:boolean" />
      <xs:element minOccurs="0" name="Permission" nillable="true" type="tns:Permission" />
      <xs:element minOccurs="0" name="PermissionId" type="ser:guid" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="PermissionGroup" nillable="true" type="tns:PermissionGroup" />
  <xs:complexType name="Permission">
    <xs:sequence>
      <xs:element minOccurs="0" name="DefaultDeny" type="xs:boolean" />
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Id" type="ser:guid" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PermissionGroup" nillable="true" type="tns:ArrayOfPermissionGroup" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Permission" nillable="true" type="tns:Permission" />
  <xs:complexType name="Position">
    <xs:sequence>
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Id" type="ser:guid" />
      <xs:element minOccurs="0" name="Priority" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Position" nillable="true" type="tns:Position" />
  <xs:complexType name="UserHeadImage">
    <xs:sequence>
      <xs:element minOccurs="0" name="Id" type="ser:guid" />
      <xs:element minOccurs="0" name="ImageData" nillable="true" type="xs:base64Binary" />
      <xs:element minOccurs="0" name="ImageType" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UpdateOn" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="UserHeadImage" nillable="true" type="tns:UserHeadImage" />
  <xs:complexType name="SimpleUser">
    <xs:sequence>
      <xs:element minOccurs="0" name="Dept" nillable="true" type="tns:Dept" />
      <xs:element minOccurs="0" name="Id" type="ser:guid" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Position" nillable="true" type="tns:Position" />
      <xs:element minOccurs="0" name="UserName" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="SimpleUser" nillable="true" type="tns:SimpleUser" />
  <xs:complexType name="ArrayOfSimpleUser">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="SimpleUser" nillable="true" type="tns:SimpleUser" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfSimpleUser" nillable="true" type="tns:ArrayOfSimpleUser" />
</xs:schema>